<?php namespace Home\Model;

use framework\Model\Model;

class Stu extends Model
{
	protected $table = 'stu';
	
	public function find($id)
	{
		if($data = $this->where('id='.$id)->selece()){
			//获取未知字符键名数组第一个元素的值
			return current($data);
		}
	}

}







 ?>